<?php
$body_type = !empty($body_type) ? $body_type:CONTENT_BODY_TYPE_ITEM;
if($body_type == CONTENT_BODY_TYPE_HEADER){
?>
	<th class="th_left" onclick="sort('username')"><div id="username" class="sort icon_no_sort">Username</div></th>
	<th width="150" class="th_left" onclick="sort('group_id')"><div id="group_id" class="sort icon_no_sort">Group</div></th>
<?php
} else { // Always = CONTENT_BODY_TYPE_ITEM
?>

	<td class="th_left"><a href="<?=PATH_URL.'admincp/'.$module.'/update/'.$v->id?>"><?=$v->username?></a></td>
			<td class="th_left"><?php if($v->custom_permission==1){ ?><span style="color: #ff9900"><?=$v->group_name?></span><?php }else{ print $v->group_name; } ?></td>
<?php
}
?>